Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Functions That Modify Movie Properties / Working With Alternate Tracks


GetMediaLanguage

The GetMediaLanguage function returns a media's language or region code. See Inside Macintosh: Text for more information on language and region codes.

pascal short GetMediaLanguage (Media theMedia);
theMedia
Specifies the media for this operation. Your application obtains this media identifier from such Movie Toolbox functions as NewTrackMedia and GetTrackMedia (described on page 2-138 and page 2-190, respectively).
ERROR CODES
invalidMedia-2008This media is corrupted or invalid
SEE ALSO
You can set a media's language or region code by calling the SetMediaLanguage function, which is described in the previous section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996